libxenlight: fix two memory related issues
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 11 Dec 2009 08:45:26 +0000 (08:45 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 11 Dec 2009 08:45:26 +0000 (08:45 +0000)
commit44ed88bd6bd53c9150fc532eb9028378e0384ce3
tree4a7084579297a43f67de8f251216effff78adcd0
parentb1fc842a272f865e86a78f104b9ed59b29952f46
libxenlight: fix two memory related issues

- LIBXL_MAXMEM_CONSTANT is 1MB but must be expressed in KB;

- xc_dom_linux_build should take target_memkb instead of max_memkb as
  an argument.

Thanks to Andres for spotting the latter.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/libxl/libxl_dom.c
tools/libxl/libxl_internal.h